package com.kangtu.demoaskpager.ask.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 机器人对话表
 * </p>
 *
 * @author david
 * @since 2021-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TbRobotAnswer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 机器对话id
     */
    @TableId(value = "rans_id", type = IdType.AUTO)
    private Long ransId;

    /**
     * 问题id
     */
    private Long askId;

    /**
     * 回答id
     */
    private Long ansId;

    /**
     * 评测试卷ID
     */
    private Long paperId;

    /**
     * 机器人回答内容
     */
    private String ansContent;

    /**
     * 是否合并答案，0不和并1合并
     */
    private Integer mergeAnswer;

    /**
     * 删除状态0：未删除 1：删除
     */
    private Integer delFlag;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
